package edu.tms.bean;

import java.util.*;

/**
 * 审核提交表
 * @author Administrator
 *
 */
public class Audit {
	/**
	 * 审核id
	 */
	private Integer auditId;

	/**
	 * 审核标题
	 */
	private String auditTitle;

	/**
	 * 审核内容
	 */
	private String auditContent;

	/**
	 * 提交人 char_id
	 */
	private Integer auditSubmitter;
	
	/**
	 * 虚拟字段 用户姓名
	 */
	private String userName;
	
	/**
	 * 虚拟字段  角色职位
	 */
	private String roleName;

	/**
	 * 审核提交时间
	 */
	private Date createTime;

	/**
	 * 审核状态 1:正在审核  2:通过审核 3:拒绝
	 */
	private Integer auditState;


	public Audit () {
		super();
	}

	public Audit (Integer auditId,String auditTitle,String auditContent,Integer auditSubmitter,Date createTime,Integer auditState) {
		this.auditId = auditId;
		this.auditTitle = auditTitle;
		this.auditContent = auditContent;
		this.auditSubmitter = auditSubmitter;
		this.createTime = createTime;
		this.auditState = auditState;
	}

	public Integer getAuditId() {
		return this.auditId;
	}

	public void setAuditId(Integer auditId) {
		this.auditId = auditId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getAuditTitle() {
		return this.auditTitle;
	}

	public void setAuditTitle(String auditTitle) {
		this.auditTitle = auditTitle;
	}

	public String getAuditContent() {
		return this.auditContent;
	}

	public void setAuditContent(String auditContent) {
		this.auditContent = auditContent;
	}

	public Integer getAuditSubmitter() {
		return this.auditSubmitter;
	}

	public void setAuditSubmitter(Integer auditSubmitter) {
		this.auditSubmitter = auditSubmitter;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getAuditState() {
		return this.auditState;
	}

	public void setAuditState(Integer auditState) {
		this.auditState = auditState;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Override
	public String toString() {
		return "Audit [auditId=" + auditId + ", auditTitle=" + auditTitle
				+ ", auditContent=" + auditContent + ", auditSubmitter="
				+ auditSubmitter + ", userName=" + userName + ", roleName="
				+ roleName + ", createTime=" + createTime + ", auditState="
				+ auditState + "]";
	}
	
	

}

